package com.qkm.xinguan.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 公告
 *
 * @author zfj
 * @date 2021/11/22 -17:26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("notice")
@ApiModel(value = "公告", description = "公告表")
public class Notice implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 公告编号
	 */
	@ApiModelProperty(value = "公告编号ID")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 公告标题
	 */
	@ApiModelProperty(value = "公告标题")
	private String noticeTip;
	/**
	 * 公告内容
	 */
	@ApiModelProperty(value = "公告内容")
	private String noticeMessage;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime modifiedTime;
	/**
	 * 删除状态("1"表示未删除，“0”表示已删除)
	 */
	@ApiModelProperty(value = "是否可用,0:不可用，1：可用")
	private Integer forbidden;

}
